package com.lecture.java8.geekbang.demo04;

import java.math.BigDecimal;

public interface VirtualWalletDao {

    VirtualWalletEntity getWalletEntity(Long walletId);

    BigDecimal getBalance(Long walletId);

    void updateBalance(Long walletId, BigDecimal subtract);
}
